package com.assignwork.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.springblade.core.tool.utils.DateUtil;
import org.springblade.core.tool.utils.Func;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 二级配工详情(AssignWorkInfo)VO
 * @since 2024-02-20 15:46:02
 */
@Data
@ApiModel(value = "AssignWorkInfoVO", description = "二级配工详情")
public class AssignWorkInfoVO  {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "配工ID")
    private Long assignWorkId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "机械ID")
    private Long mechanicalId;

    @ApiModelProperty(value = "机械号")
    private String mechanicalNo;

    @ApiModelProperty(value = "机械名称")
    private String mechanicalName;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业人员ID")
    private Long workerId;

    @ApiModelProperty(value = "作业人员姓名")
    private String workerName;

    @ApiModelProperty(value = "作业人员编号")
    private String workerNo;

    @ApiModelProperty(value = "补人类型")
    private String adjustmentType;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "对ID")
    private Long adjustmentTeamId;

    @ApiModelProperty(value = "对名称")
    private String adjustmentTeamName;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "组ID")
    private Long adjustmentGroupId;

    @ApiModelProperty(value = "组名")
    private String adjustmentGroupName;

    @ApiModelProperty(value = "人数")
    private Integer workerNumber;

    private String workerTeamKey;
    private String workerTeamName;

    private String workerGroupKey;
    private String workerGroupName;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long cabinInfoId;

    @JsonSerialize(using = ToStringSerializer.class)
    private Long arrangeInfoId;

    List<WorkLineLogMachineVO> workTime;
    
}

